package com.bling.iservice;

import java.io.Serializable;
import java.sql.SQLException;

import com.bling.common.bean.Admin;

/**
 * 管理员服务接口
 * @author BLingSoft
 *
 */
public interface IAdminService {
	
	public void saveAdmin(Admin admin) throws SQLException;
	
	public void updateAdmin(Admin admin) throws SQLException;
	
	public void deleteAdminById(Serializable id) throws SQLException;
	
	public void deleteAdmin(Admin admin) throws SQLException;
	
	public Admin findAdminById(Serializable id) throws SQLException;
	
	public Admin findAdminByUsername(String username) throws SQLException;
}
